<table width="300" border="1" align="center" cellpadding="5"
	cellspacing="2" bgcolor="#add3ef">

	<?php foreach ($data as $row){?>
	<?php
	$tmpmessage1=array("/(\[#qqface:){1}/","/\]{1}/","/(\[#bbsface:){1}/");
	$tmpmessage2=array("<img src=\"/statics/face1/F_",".gif\"/>","<img src=\"/statics/face2/");
	$tmpmessage=preg_replace($tmpmessage1, $tmpmessage2,$row->re_message );
	?>
	<tr>
		<td><font color="red"><?=$row->re_username ?></font>说: <?=$tmpmessage ?><br />
		<?=$row->re_time ?></td>
	</tr>
	<?php }?>
</table>
